package com.zt.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zt.pojo.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
* @author 洪
* @description 针对表【orders(订单表)】的数据库操作Mapper
* @createDate 2025-04-10 09:58:53
* @Entity com.zt.pojo.Orders
*/
@Mapper
public interface OrdersMapper extends BaseMapper<Order> {
    
    @Update("UPDATE orders SET status = #{status} WHERE order_no = #{orderNo}")
    int updateOrderStatus(Order order);
}




